import { createRouter, createWebHistory,RouteRecordRaw} from "vue-router";


const routes:Array<RouteRecordRaw> =([
    {
        path:"/",
        name:"Home",
        component:()=>import("../components/HelloWorld.vue")
    },
    {
        path:"/ShowInvest",
        name:"ShowInvest",
        component:()=>import("../components/ShowInvest.vue")
    },
    {
        path:"/Update/:Iid",
        name:"Update",
        component:()=>import("../components/Update.vue")
    }
]
) 

const Routers = createRouter({
    history:createWebHistory(),
    routes
})
export default Routers